package org.itboys.fuzion.entity;

import org.itboys.fuzion.constant.FuzionConstants;
import org.itboys.mongodb.entity.BaseLongIdEntity;
import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Indexed;
import org.mongodb.morphia.annotations.NotSaved;

/**
 * 提现记录
 * @author weisky
 *
 * 2016年4月19日
 */
@Entity(value = "WithdrawsRecords", noClassnameStored = true)
public class WithdrawsRecords extends BaseLongIdEntity{

	private static final long serialVersionUID = 5665944656721698864L;
	
	@Indexed
	private Long memberId;
	private int money;//提现金额 以分为单位
	@Indexed
	private int type = FuzionConstants.TYPE_ONE;//处理类型 1:申请  2：已发放
	
	@NotSaved
	private String nickName;
	@NotSaved
	private String checkTime;//提现发放的时间
	
	public String getCheckTime() {
		return checkTime;
	}
	public void setCheckTime(String checkTime) {
		this.checkTime = checkTime;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public Long getMemberId() {
		return memberId;
	}
	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}
	public int getMoney() {
		return money;
	}
	public void setMoney(int money) {
		this.money = money;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	
}
